package com.guli.model.product;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("pms_category")
public class CategoryEntity implements Serializable {

    //分类id
    @TableId
    private Long catId;

    //分类名称
    private String name;

    //父分类id
    private Long parentCid;

    //层级
    private  Integer catLevel;

    //是否显示 0 1
    @TableLogic(value = "1",delval = "0")
    private Integer showStatus;

    //排序
    private Integer sort;

    //图标地址
    private String icon;

    //计量单位
    private String productUnit;

    //商品数量
    private  Integer productCount;


}
